package com.itany.corejava.code16_反射;

/**
 * @author Miss Chen
 * @version 1.0
 * @date 2024年08月13日8:42
 */
public class Emp {

    @Value("id")
    private String id;

    @Value("name")
    private String name;

    @Value("salary")
    private String salary;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSalary() {
        return salary;
    }

    public void setSalary(String salary) {
        this.salary = salary;
    }

    @Override
    public String toString() {
        return "Emp{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", salary='" + salary + '\'' +
                '}';
    }
}
